#include "stdafx.h"
#include "myapplet.h"
#include "DemoDlg.h"


#ifdef _DEBUG
#define new DEBUG_NEW
#endif


IMPLEMENT_DYNCREATE(CDemoDlg, CDialog)

CDemoDlg::CDemoDlg() : CDialog(CDemoDlg::IDD, NULL)
{
}

void CDemoDlg::DoDataExchange(CDataExchange* pDX)
{
	//Let the base class do its thing
	CDialog::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CDemoDlg, CDialog)
END_MESSAGE_MAP()


IMPLEMENT_DYNCREATE(CDemoPage1, CPropertyPage)

CDemoPage1::CDemoPage1() : CPropertyPage(CDemoPage1::IDD)
{
}

void CDemoPage1::DoDataExchange(CDataExchange* pDX)
{
	//Let the base class do its thing
	CPropertyPage::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CDemoPage1, CPropertyPage)
END_MESSAGE_MAP()


IMPLEMENT_DYNCREATE(CDemoPage2, CPropertyPage)

CDemoPage2::CDemoPage2() : CPropertyPage(CDemoPage2::IDD)
{
}

void CDemoPage2::DoDataExchange(CDataExchange* pDX)
{
	//Let the base class do its thing
	CPropertyPage::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CDemoPage2, CPropertyPage)
END_MESSAGE_MAP()


IMPLEMENT_DYNCREATE(CDemoPropertySheet, CPropertySheet)

CDemoPropertySheet::CDemoPropertySheet() : CPropertySheet()
{
	//Add our pages to the property sheet
  AddPage(&m_Page1);
  AddPage(&m_Page2);
}

BEGIN_MESSAGE_MAP(CDemoPropertySheet, CPropertySheet)
END_MESSAGE_MAP()
